
import Constants from '../../../utils/constants';
import HttpUtils from '../../../utils/http.utils';

let TaskListSrv = {

	urls: {
		'list': Constants.BASE_URL + 'task/list'

	},

	list: function (params) {
		return HttpUtils.get(this.urls.list + '?' + params);

	},

	create: function (body) {
		return HttpUtils.post(this.urls.list, body);
	}



};

export {TaskListSrv};
